Add --enable-dynamic-test configure option

When --enable-dynamic-test is used to configure glibc build, we set
PT_INTERP and DT_RPATH in dynamic tests to newly built glibc so that
they can run directly if not cross compiling.