[PATCH kernel-4.19 5/7] bpf: Refactor and streamline bounds check into helper