Remove unused enum
Made opt_algorithm to simple variable
Use macros in queue_kernel functions
Merge pull request #274 from Elbandi/v5_0

Remove unused enum diff_calc_mode from miner.h, make opt_algorithm a simple algorithm_t structure (not a pointer), use macros in queue_{darkcoin_mod,marucoin_mod,marucoin_mod_old}_kernel().