Derivation BPHY: Fix undef behaviour as warned by cppcheck
Fix warning as found in:
ATLASSQ-377 ATLASSQ-376 ATLASSQ-375 ATLASSQ-374 ATLASSQ-373
While this was technically undefined behaviour I think it was working as intended anyway. Still it should be fixed.