[PATCH openEuler-1.0-LTS] capabilities: fix undefined behavior in bit shift for CAP_TO_MASK