Cassell's Dictionary of Slang suggests it is from biff (“hit”) because one biffs against it during sex.
Biffin's bridge