ixgbe: Fix FW init/release, make this code a function