hardware: Fix implementation of bcpy for new Chisel version.