Efficient Mapping of Hardware Tasks on Reconfigurable Computers Using Libraries of Architecture Variants