[PATCH 5.10 550/575] powerpc/lib: Add helper to check if offset is within conditional branch range