Merge declarations of shared asm functions into the comon library

Don't duplicate the function prototype declarations within both encoder and decoder.