keep static libraries

Arch Linux recently started to strip static libraries from package
builds by default. Since qttools depends on libQt5QmlDevTools.a from
qtdeclarative, add the staticlibs to qtdeclarative to keep this library.

For good measure, add staticlibs to qttools as well. The same is done in
[extra].