pm: device_runtime: Fix bitfields misuse

PM_DEVICE_FLAG_ISR_SAFE is an enum and it must be converted to
a bit mask before masking with flags.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
(cherry picked from commit 581c55496df13214ce08c9acb396bf52ebeab418)
1 file changed