[PATCH 4.14 1/3] powerpc/lib: Add helper to check if offset is within conditional branch range