Refactor block ciphers to simplify the nif interface

The disabled algorithm tests in FIPS mode had to be slightly updated
because the new, generic code checks key, iv and data sizes first.