refs/packet: add missing BUG() invocations to reflog callbacks