This reverts commit 3f8aeb2fb27ea6593dd22576d4d0c4e769a11c59.
`lib/ghc-8.10.7/unix-2.7.2.2/libHSunix-2.7.2.2-ghc8.10.7.so` continues
referencing libc symbols, i.e. `sem_{open,close,unlink}`, regardless of
declarations in `<semaphore.h>`.
%ci:no-build
- seperate ghc libraries from ghc bins
- enable dynamic libs for ghc
* ghc-libs is further seperated into static and dynamic packages
* enabling dynamic support will reduce package size as well as there
performance on device.
closes#5973
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>