ghc-package.eclass: cleanup: workaround nested '$( $( ) )'

mcedit does not like it.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>