Revert "[rsxs] - fix compilation of rsxs - their strndup impl. didn't obey a missing strnlen and link against png is static now so it needs all dependend libs"

This reverts commit 3c652efa0ffa730d9a9ad419b19dddbafea1a6c9.
depends: fix rsxs build, this should be safe for all platforms