Blackfin: add some bounds checking to peripheral_request