Bug 863970. Remove some dead code in imagelib. r=seth