Fix usage of weak,alias attributes
Moved the weak,alias attribute declarations from header files to the
implementation. Complies with the requirement that alias targets are
defined in the same compilation unit.
Fixes #2002
Signed-off-by:
Ken Raffenetti <raffenet@mcs.anl.gov>