[PATCH 5.4 342/355] powerpc/lib: Add helper to check if offset is within conditional branch range